<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="text" id="input">
    <script type="module">
        import debpunce from './防抖/1.js';
        import throttle from './节流/1.js';
       
        function change(e){
            console.log(e);
        }

        let throttleChange = throttle(change,1000)
        let input = document.getElementById('input')
        input.addEventListener('keyup',throttleChange)
    </script>
    
   
       
   
</body>
</html>